package com.shop.user.common;

public enum UserInfoEnum {

	USER_COMMON_EXCEPTION(10000, "系统异常"), 
	USER_LOGIN_ERROR(10001, "用户名或密码不正确"),
	USER_DISABLED_ERROR(10002, "用户被停用"),
	USER_LOGIN_SUCCESS(10003, "登录成功"),
	USER_OPER_SUCCESS(10004, "操作成功");

	private Integer code;

	private String message;

	private UserInfoEnum(Integer code, String message) {
		this.code = code;
		this.message = message;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
